<?php require_once('header.php'); ?>
<?php //include_once('topwidget.php'); ?>

<div id="contentBox">
<?php include_once('sidebar.php'); ?>

<div id="content">
<?php
	$contid = $_GET['contid'];
	$contractorsQuery = "SELECT * FROM users WHERE userid = $contid";
	connection();
	$singlecontractor = mysql_query($contractorsQuery);
	while($contractorInfo = mysql_fetch_array($singlecontractor)) {
		
?>
<h2>Profile of <a href="#"><?php echo $contractorInfo['fullname']; ?></a>
    <span class="addcon"><span class="address"><?php echo $contractorQuery['experties']; ?></span></span>
</h2>
    <p>
    <a id="findJob" class="oBtn inneroBtnPrimary" href="message.php">Contact with <?php echo $contractorInfo['fullname']; ?></a>
    	<h3>Personal Information</h3>
        <ul>
        	<li><strong>Company: </strong> <?php echo $contractorInfo['company']; ?></li>
            <li><strong>Address: </strong><?php echo $contractorInfo['address']; ?></li>
            <li><strong>State: </strong><?php echo $contractorInfo['state']; ?></li>
            <li><strong>Postal Code: </strong><?php echo $contractorInfo['postal']; ?></li>
            <li><strong>Country: </strong><?php echo $contractorInfo['country']; ?></li>
        </ul> 
        <h3>Contact Information</h3>       
        <ul>
            <li><strong>Email: </strong><?php echo $contractorInfo['email']; ?></li>
            <li><strong>Phone: </strong><?php echo $contractorInfo['phone']; ?></li>
            <li><strong>Skype: </strong><?php echo $contractorInfo['skype']; ?></li>
            <li><strong>Yahoo: </strong><?php echo $contractorInfo['yahoo']; ?></li>
        </ul>
        <h3>Skills</h3>       
        <ul>
            <li><?php echo $contractorInfo['skills']; ?></li>
        </ul>        
    </p>
    <p>
    	<h2>Recent Completed Projects</h2>
        <h2>Recent Applied</h2>
    </p>
</div>
<?php
	}
?>
<div style="clear:both;"></div>

<?php //include_once('bottomwidget.php'); ?>
<?php include_once('footer.php'); ?>